package com.hsc.www;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

@FeignClient(value = "PROVIDER-SERVER",fallbackFactory =UserServicesFallbackFactory.class )
public interface UserServices {

    @RequestMapping(value = "/getUsers")
    List<Map> getUsers();


}
